#define _CRT_SECURE_NO_WARNINGS

#include <iostream>
#include <string>

using namespace std;


//template<typename T>
//class basic_string
//{
//private:
//	T* _str;
//	size_t _size;
//	size_t _capacity;
//	//...
//};
//
//typedef basic_string<char> string;

int main()
{
	//string str1 = "";
	//str1 = '1';
	//cout << str1 << endl;
	//str1 = "123";
	//cout << str1 << endl;
	//str1 = '2';
	//cout << str1 << endl;
	//str1 = '\0';
	//cout << str1 << endl;

	//string str2 = "BLZ";
	//str2[200] = 'c';
	//string str2 = "1234567";
	//string::iterator it = str2.begin();
	//for (; it < str2.end(); it++)
	//{
	//	cout << *it << endl;
	//}
	string str3 = "1234567";
	for (char e : str3)
	{
		cout << e << ' ';
	}

	return 0;
}

